﻿<extend name="Public/base"/>

<block name="sidebar"></block>

<block name="style">
    <style>
        body{padding: 0}
        .stc{font-size:15x;line-height:26px;}
    </style>
</block>

<block name="body">
    <!-- 主体 -->
    <div id="indexMain" class="index-main">
     
       <div class="container-span">
            <div style="height:50px;"></div>
            <div class="span2">
                <div class="columns-mod">
                    <div class="bd">
                        <div class="sys-info" style="height:160px;">
                           <h3 style="margin-bottom:10px;">系统提示：</h3>
                           <?php if(!$mpconfig):?>
                            <p class='stc'>公众号信息还未配置哦！<a href="{:U('Config/mp')}">去设置</a></p>
                            <?php else:?>
                            <p class='stc'>公众号信息已配置</p> 
                           <?php endif;?>
                           <?php if($nter > 0 ):?>
                            <p class='stc'>还有 <span style="font-weight:bold;font-size:14px;color:red">{$nter}</span> 个场地还未设置明天时间表哦！<a href="{:U('Coach/times')}">去设置</a></p>
                           <?php endif;?>  
                           <p class='stc'>您有 <span style="font-weight:bold;font-size:14px;color:red">{$orderCt}</span> 条退款请求未处理 <a href="{:U('Order/refunding')}">去处理</a></p>
                           <p class='stc'>您已登录该系统 {$Minx.login} 次，上次登录时间：{$Minx.last_login_time|date='Y-m-d H:i:s',###} 上次IP：{$Minx.last_login_ip|long2ip} </p>
                           <div>
                              
                           </div>
                        </div>
                    </div>
                </div>
            </div>
                
            <div class="span2">
                <div class="columns-mod">
                    <div class="bd">
                        <div class="sys-info" style="height:160px;">
                           <h3 style="margin-bottom:10px;">基本统计：</h3>
                           <p class='stc'>总共文档：{$cta.doc} 篇</p> 
                           <p class='stc'>总共场地：{$cta.place} 个</p> 
                           <p class='stc'>已支付订单：{$cta.order} 个</p>   
                           <p class='stc'>支付总金额：<span style="font-size:16px;font-weight:bold;color:#c74a4a">{$cta.money} </span>元</p>  
                        </div>
                    </div>
                </div>
            </div>
             
            <div class="span4">
                <div class="columns-mod">
                    <div class="bd">
                        <div class="sys-info">
                           {:R('index/dash4')}
                        </div>
                    </div>
                </div>
            </div>

       </div>
    </div>
</block>

<block name="script">
<script type="text/javascript">
    /* 插件块关闭操作 */
    $(".title-opt .wm-slide").each(function(){
        $(this).click(function(){
            $(this).closest(".columns-mod").find(".bd").toggle();
            $(this).find("i").toggleClass("mod-up");
        });
    })
    $(function(){
        // $('#main').attr({'id': 'indexMain','class': 'index-main'});
        $('.copyright').remove();
        $('.sidebar').remove();
    })
</script>
</block>